﻿using EcoSystem.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Data;

namespace EcoSystem
{
    /// <summary>
    /// 领域模型对应的DTO
    /// </summary>
    public class EnterpriseDto : ExtensibleFullAuditedEntityDto<Guid>
    {

        /// <summary>
        /// 企业编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 企业类型
        /// </summary>
        public string EnterpriseType { get; set; }

        /// <summary>
        /// 行业类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 行业子类型
        /// </summary>
        public string SubType { get; set; }

        /// <summary>
        /// 营业代码
        /// </summary>  
        public string BusinessCode { get; set; }

        /// <summary>
        /// 企业范围
        /// </summary>
        public string BusinessScope { get; set; }

        /// <summary>
        /// 注册资本金
        /// </summary>
        public Nullable<decimal> RegisteredCapital { get; set; }

        /// <summary>
        /// 企业附件资料信息
        /// </summary>
        public AttachmentCollectionDto Attachments { get; set; }

        /// <summary>
        /// 所属区域代码
        /// </summary>
        public string RegionCode { get; set; }

        /// <summary>
        /// 企业地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 企业邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 公司网站
        /// </summary>
        public string Site { get; set; }

        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string ConactName { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 法人姓名
        /// </summary>
        public string LegalName { get; set; }

        /// <summary>
        /// 法人证件
        /// </summary>
        public string LegalCardNo { get; set; }

        /// <summary>
        /// 法人电话
        /// </summary>
        public string LegalPhone { get; set; }

        /// <summary>
        /// 开户账号
        /// </summary>
        public string AccountNo { get; set; }

        /// <summary>
        /// 开户行号
        /// </summary>
        public string AccountBankNo { get; set; }

        /// <summary>
        /// 开户行名称
        /// </summary>
        public string AccountBankName { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
    }
}
